projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c76eb72
)
drivers: net: phy: add SMSC LAN8740 Phy support.
author
Purna Chandra Mandal
<
[email protected]
>
Thu, 28 Jan 2016 10:00:20 +0000
(15:30 +0530)
committer
Daniel Schwierzeck
<
[email protected]
>
Mon, 1 Feb 2016 21:14:02 +0000
(22:14 +0100)
Add SMSC LAN8740 Phy support required for PIC32MZDA devices.
Signed-off-by: Purna Chandra Mandal <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
Reviewed-by: Daniel Schwierzeck <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
drivers/net/phy/smsc.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/smsc.c
b/drivers/net/phy/smsc.c
index bfd9815abf9b68dcb52eb11cb5ed9ec38f559c97..34986a29fc3fd56906073d5e702e5fad587324ea 100644
(file)
--- a/
drivers/net/phy/smsc.c
+++ b/
drivers/net/phy/smsc.c
@@
-69,11
+69,21
@@
static struct phy_driver lan8710_driver = {
.shutdown = &genphy_shutdown,
};
+static struct phy_driver lan8740_driver = {
+ .name = "SMSC LAN8740",
+ .uid = 0x0007c110,
+ .mask = 0xffff0,
+ .features = PHY_BASIC_FEATURES,
+ .config = &genphy_config_aneg,
+ .startup = &genphy_startup,
+ .shutdown = &genphy_shutdown,
+};
int phy_smsc_init(void)
{
phy_register(&lan8710_driver);
phy_register(&lan911x_driver);
phy_register(&lan8700_driver);
+ phy_register(&lan8740_driver);
return 0;
}